using System;
using System.Collections.Generic;
using System.Text;

namespace Dll.Essences
{
    public class GoodsGroup
    {
        private int id;
        private string name;
        private string code;
        private DateTime date;
        private int userId;

        public GoodsGroup()
        {

        }

        public GoodsGroup(int ID,string Code, string Name, DateTime Date, int UserId)
        {
            id = ID;
            name = Name;
            date = Date;
            code = Code;
            userId = UserId;
        }

        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string Code
        {
            get
            {
                return code;
            }
            set
            {
                code = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

        public int UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }
    }
}
